package pkg

import "time"

type RepoInfo struct {
	HtmlUrl        string
	SshUrl         string
	Name           string
	Description    string
	LastCommitTime time.Time
}

type GitApi interface {
	GetAllRepos() ([]RepoInfo, error)
}

type GitCmd interface {
	Clone(repo string)

	Update(localPath string)
}

type gitCmd struct {
}

var _ GitCmd = &gitCmd{}

func (g gitCmd) Clone(repo string) {
	//TODO implement me
	panic("implement me")
}

func (g gitCmd) Update(localPath string) {
	//TODO implement me
	panic("implement me")
}
